﻿<navigation:Page  
            x:Class="TotalSystems.Salary.Views.BaseInfo.Base" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"  xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" FlowDirection="RightToLeft"

           d:DesignWidth="2000" d:DesignHeight="800"
           Title="درجه بندی کالا" xmlns:my="clr-namespace:TotalSystems.Core.Controls;assembly=TotalSystems.Core">
    <Grid x:Name="LayoutRoot"  >
        <StackPanel>
            <Canvas Height="45">
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="12,6,0,0" Name="Btn_Add" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="ایجاد" Canvas.Left="-1" Canvas.Top="0">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Add.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="49,6,0,0" Name="Btn_Edit" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="ویرایش" Canvas.Left="0" Canvas.Top="0">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Edit.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="86,6,0,0" Name="Btn_Delete" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="حذف" Canvas.Left="0" Canvas.Top="0">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="123,6,0,0" Name="Btn_Help" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="راهنمای فرم" Canvas.Left="0" Canvas.Top="0">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Help.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <RadioButton Canvas.Left="164" Canvas.Top="6" Content="فعال" Height="16" IsChecked="True" Name="RAB_ActiveNode" />
                <RadioButton Canvas.Left="217" Canvas.Top="6" Content="غیر فعال" Height="16" Name="RAD_NotActiveNode" />
                <RadioButton Canvas.Left="283" Canvas.Top="6" Content="هردو" Height="16" Name="RAD_BothNode" />
            </Canvas>
            
            <Canvas Height="1000">
                <telerik:RadTreeView Height="326" Margin="11,45,0,0" Name="Trv_HRU_Base" VerticalAlignment="Top" HorizontalAlignment="Left" Width="329" BorderBrush="Black" BorderThickness="1" IsLineEnabled="True"  Cursor="Hand" >
                    <telerik:RadContextMenu.ContextMenu>
                        <telerik:RadContextMenu FlowDirection="RightToLeft" Name="radContextMenu_Tree" >
                            <telerik:RadMenuItem Header="جدید"  Name="radContextMenu_Tree_Add"  >
                                <telerik:RadMenuItem.Icon>
                                    <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Add.png"
                             Stretch="Fill" />
                                </telerik:RadMenuItem.Icon>
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Header="ویرایش" Name="radContextMenu_Tree_Edit"  >
                                <telerik:RadMenuItem.Icon>
                                    <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Edit.png"
                             Stretch="Fill" />
                                </telerik:RadMenuItem.Icon>
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Header="حذف" Name="radContextMenu_Tree_Delete" >
                                <telerik:RadMenuItem.Icon>
                                    <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Delete.png"
                             Stretch="Fill" />
                                </telerik:RadMenuItem.Icon>
                            </telerik:RadMenuItem>
                        </telerik:RadContextMenu>
                    </telerik:RadContextMenu.ContextMenu>
                </telerik:RadTreeView>
                <CheckBox Content=" : وضعیت " ToolTipService.ToolTip="وضعیت رکورد" Height="16" HorizontalAlignment="Left" Margin="433,154,0,0" Name="CHK_HRU_Base_Active" VerticalAlignment="Top"  IsEnabled="False" Canvas.Left="-87" Canvas.Top="5" />
                <CheckBox Content=" : Is Expand " ToolTipService.ToolTip="وضعیت باز یا بسته بودن نود" Height="16" HorizontalAlignment="Left" Margin="527,154,0,0" Name="CHK_HRU_Base_IsExpand" VerticalAlignment="Top"  IsEnabled="False" Canvas.Left="-87" Canvas.Top="5" />
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="719,140,0,0" Name="Btn_Accept" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="تایید" Visibility="Visible" Canvas.Left="61" Canvas.Top="0">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Save.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="756,140,0,0" Name="Btn_Cancel" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="انصراف" Visibility="Visible" Canvas.Left="61" Canvas.Top="0">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Cancel.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <my:LabeledText Canvas.Left="346" Canvas.Top="74" Height="25" LabelText="نام" LableWidth="75" Name="labeledText1" Width="250" />
                <my:LabeledText Canvas.Left="346" Canvas.Top="105" Height="25" LabelText="توضیحات" LableWidth="75" Name="labeledText2" Width="506" />
                <my:LabeledText Canvas.Left="602" Canvas.Top="44" Height="25" LabelText="کد والد" LableWidth="75" Name="labeledText3" Width="250" />
                <my:LabeledText Canvas.Left="346" Canvas.Top="45" Height="25" LabelText="کد" LableWidth="75" Name="labeledText4" Width="250" />
            </Canvas>
        </StackPanel>
       </Grid>
</navigation:Page>
